package io.gitee.zhangbinhub.admin.workflow.entity

import com.mybatisflex.annotation.Id
import com.mybatisflex.annotation.Table
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

@Table("t_my_process_instance")
@ApiModel("我处理过的流程实例")
data class MyProcessInstance(
    @Id
    @ApiModelProperty(name = "ID")
    var id: String = "",
    @ApiModelProperty(name = "流程实例id")
    var processInstanceId: Long = 0,
    @ApiModelProperty(name = "流程定义键")
    var processDefinitionKey: String = "",
    @ApiModelProperty(name = "业务键")
    var businessKey: String = "",
    @ApiModelProperty(name = "发起人")
    var startUserId: String? = null,
    @ApiModelProperty(name = "处理人")
    var userId: String = "",
    @ApiModelProperty(name = "开始时间")
    var startTime: Long = 0
)
